.slide {
    position: relative;
    margin: auto;
    width: 600px;
    height: 200px;
    text-align: center;
    font-family: Arial;
    color: #FFF;
    overflow: hidden;
}

.slide ul {
    margin: 10px 0;
    padding: 0;
    width: calc(600px * 3);
    transition: all 0.5s;
}

.slide li {
    float: left;
    width: 600px;
    height: 200px;
    list-style: none;
    line-height: 200px;
    font-size: 36px;
}

.slide li:nth-child(1) {
    background: #9fa8ef;
}

.slide li:nth-child(2) {
    background: #ef9fb1;
}

.slide li:nth-child(3) {
    background: #9fefc3;
}

.slide input[name="sildeInput"] {
    display: none;
}

.slide label[for^="sildeInput"] {
    position: absolute;
    top: 170px;
    width: 20px;
    height: 20px;
    margin: 0 10px;
    line-height: 20px;
    color: #FFF;
    background: rgb(139, 150, 139);
    cursor: pointer;
    border-radius: 50%;
}

.slide label[for="sildeInput1"] {
    left: 0;
}

.slide label[for="sildeInput2"] {
    left: 30px;
}

.slide label[for="sildeInput3"] {
    left: 60px;
}

#sildeInput1:checked~ul {
    margin-left: 0;
}

#sildeInput2:checked~ul {
    margin-left: -600px;
}

#sildeInput3:checked~ul {
    margin-left: -1200px;
}

#sildeInput1:checked~label[for="sildeInput1"] {
    color: #000;
    background: #fff;
}

#sildeInput2:checked~label[for="sildeInput2"] {
    color: #000;
    background: #fff;
}

#sildeInput3:checked~label[for="sildeInput3"] {
    color: #000;
    background: #fff;
}